﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="wuliu.aspx.cs" Inherits="changyong_wuliu" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title><link href="../css/addbook.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
   <div>
<center>
    <div class="wrap">
        <div class="top">
            <div class="top1">
               
            </div>
        </div>
        <div class="shortnfo">
            <h2>当前位置：常用业务->物流信息</h2>
            <div class="menuitems">
                
           <ul>
                      <li><a id="A1"  href="../master/index.aspx" runat="server">首页</a></li>
                 <li><a id="A2"  href="~/changyong/addwuliu.aspx" runat="server">添加物流</a></li>
                      <li><a href="../master/changyong.aspx">取消删除</a></li>
                  </ul>
            </div>
        </div>
        <div class="content">
           <table border="0" style="table-layout:fixed;width:100%;text-align:left;height:100%" >
                <tr>
                    <td>图书编号：<br />
                        <asp:TextBox ID="bookid" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        图书名称：<br /><asp:TextBox ID="bookname" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <br /><asp:Button ID="Button2" runat="server" Text="搜索" OnClick="Button2_Click"></asp:Button>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
<asp:GridView ID="Gv1" runat="server" AutoGenerateColumns="False" DataKeyNames="图书编号"  Height="100%" Width="100%" AllowPaging="True" PageSize="5" OnRowUpdating="Gv1_RowUpdating"  OnPageIndexChanging="Gv1_PageIndexChanging" OnRowDeleting="Gv1_RowDeleting">
    <Columns>
        <asp:BoundField DataField="图书编号" HeaderText="图书编号" ReadOnly="True" SortExpression="图书编号" >
        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
        </asp:BoundField>
        <asp:BoundField DataField="图书名称" HeaderText="图书名称" SortExpression="图书名称" />
        <asp:BoundField DataField="发货时间" DataFormatString="{0:d}" HeaderText="发货时间" SortExpression="发货时间" >
        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
        </asp:BoundField>
        <asp:BoundField DataField="快递" HeaderText="快递" SortExpression="快递" >
        <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle" />
        </asp:BoundField>
       <asp:TemplateField HeaderText="删除" ShowHeader="False">
                    <ItemTemplate>
                        <asp:ImageButton ID="ImageButton1" runat="server" CommandName="Delete" 
                            ImageUrl="~/image_oracle/BtnDelete.gif" 
                            onclientclick="return confirm('确定删除吗？');" />
                    </ItemTemplate>
                </asp:TemplateField>
          <asp:CommandField ButtonType="Image" CancelImageUrl="~/image_oracle/BtnCancel.gif"
                    EditImageUrl="~/image_oracle/BtnUpdate.gif" HeaderText="编辑" ShowEditButton="True" 
                    UpdateImageUrl="~/image_oracle/BtnSave.gif" />


    </Columns>
    <FooterStyle HorizontalAlign="Center" />
    <HeaderStyle HorizontalAlign="Center" />
    <RowStyle HorizontalAlign="Center" Height="46px" />
</asp:GridView>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString4 %>" ProviderName="<%$ ConnectionStrings:ConnectionString4.ProviderName %>" SelectCommand="select * from booksale.deliver_goods"></asp:SqlDataSource>
                    </td>
                </tr>





            </table>
        </div>
        	<div class="footer">
    <p>Copyright &copy;2019  All Rights Reserved</p> 
     </div>
    </div>



</center>
    </div>
    </form>
</body>
</html>
